<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "set_user_up".
 *
 * @property int $id
 * @property float $vip3
 * @property float $vip4
 * @property float $svip1
 * @property float $svip2
 * @property string $re_name
 * @property string $re_address
 * @property string $re_mobile
 */
class SetUserUp extends \yii\db\ActiveRecord
{
    use SetUserUpCommon;

    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'set_user_up';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['vip3', 'vip4', 'svip1', 'svip2'], 'number'],

            [['re_name', 're_address', 're_mobile'], 'safe']
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'vip3' => 'Vip 3',
            'vip4' => 'Vip 4',
            'svip1' => 'Svip 1',
            'svip2' => 'Svip 2',
        ];
    }
}
